package com.workManager.mapper;

import com.workManager.pojo.TdAuthority;
import com.workManager.pojo.TdAuthorityExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TdAuthorityMapper {
    int countByExample(TdAuthorityExample example);

    int deleteByExample(TdAuthorityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TdAuthority record);

    int insertSelective(TdAuthority record);

    List<TdAuthority> selectByExample(TdAuthorityExample example);

    TdAuthority selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TdAuthority record, @Param("example") TdAuthorityExample example);

    int updateByExample(@Param("record") TdAuthority record, @Param("example") TdAuthorityExample example);

    int updateByPrimaryKeySelective(TdAuthority record);

    int updateByPrimaryKey(TdAuthority record);

    List<TdAuthority> query(@Param("cm") Map map);
}